<?php echo $this->atheme->form_open('', array('label'=>'Permission Details')); ?>
<?php  echo $this->atheme->input('Permission name', 'edit[permission_name]', set_value('permission_name', @$edit->permission_name), array('help'=>'Nếu bạn sửa sẽ ảnh hưởng đến hệ thống.')); ?>

<?php  echo $this->atheme->input('Tên gợi nhớ', 'edit[permission_title]', set_value('permission_title', @$edit->permission_title), array('help'=>'Max. 255 characters.')); ?>

<?php  echo $this->atheme->input('Chú thích', 'edit[permission_description]', set_value('permission_description',  @$edit->permission_description ), array('help'=>'')); ?>

<?php  echo $this->atheme->select('Trạng thái', 'edit[permission_status]', set_value('permission_status', @$edit->permission_status), array('options' => array('1' =>'Hiện','0'=>'Ẩn'),'help'=>'')); ?>

<?php  echo $this->atheme->select('Hiện ở sidebar', 'edit[permission_is_sidebar]', set_value('permission_is_sidebar', @$edit->permission_is_sidebar), array('options' => array('1' =>'Hiện','0'=>'Ẩn'),'help'=>'Cho phép hiển thị ở bên sidebar')); ?>

<?php  echo $this->atheme->input('Link', 'edit[permission_sidebar_link]', set_value('permission_sidebar_link',  @$edit->permission_sidebar_link ), array('help'=>'')); ?>

<?php  echo $this->atheme->input('Class', 'edit[permission_sidebar_class]', set_value('permission_sidebar_class',  @$edit->permission_sidebar_class ), array('help'=>'Class của link sidebar')); ?>

<?php echo $this->atheme->form_submit(array(),array(), $edit_id); ?>
<?php echo $this->atheme->form_close(); ?>